<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <title>登录页面 - 光年(Light Year Admin V4)后台管理系统模板</title>
    <link rel="icon" href="favicon.ico" type="image/ico">
    <meta name="keywords" content="LightYear,LightYearAdmin,光年,后台模板,后台管理系统,光年HTML模板">
    <meta name="description" content="Light Year Admin V4是一个后台管理系统的HTML模板，基于Bootstrap v4.4.1。">
    <meta name="author" content="yinqi">
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/materialdesignicons.min.css" rel="stylesheet">
    <link href="/static/css/style.min.css" rel="stylesheet">
    <link href="/static/css/animate.min.css" rel="stylesheet">
    <style>
        .login-form .has-feedback {
            position: relative;
        }
        .login-form .has-feedback .form-control {
            padding-left: 36px;
        }
        .login-form .has-feedback .mdi {
            position: absolute;
            top: 0;
            left: 0;
            right: auto;
            width: 36px;
            height: 36px;
            line-height: 36px;
            z-index: 4;
            color: #dcdcdc;
            display: block;
            text-align: center;
            pointer-events: none;
        }
        .login-form .has-feedback.row .mdi {
            left: 15px;
        }
        .login-form .form-group:last-child,
        .login-right p:last-child {
            margin-bottom: 0px;
        }
        .login-right {
            background: #67b26f!important;
            background: -moz-linear-gradient(45deg,#67b26f 0,#4ca2cd 100%)!important;
            background: -webkit-linear-gradient(45deg,#67b26f 0,#4ca2cd 100%)!important;
            background: linear-gradient(45deg,#67b26f 0,#4ca2cd 100%)!important;
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#67b26f', endColorstr='#4ca2cd', GradientType=1 )!important;
        }
        .login-box {
            max-width: 700px;
        }
        .login-right {
            max-width: 50%;
        }
    </style>
</head>

<body class="center-vh" style="background-image: url(images/login-bg-3.jpg); background-size: cover;">
<div class="bg-translucent p-2">
    <div class="flex-box bg-white login-box">
        <div class="login-left p-5">

            <div class="text-center mb-3 d-sm-none">
                <a href="index.html"> <img alt="light year admin" src="/static/images/logo-sidebar.png"> </a>
            </div>
            <form action="" method="post" class="login-form">
                <div class="form-group has-feedback">
                    <span class="mdi mdi-account" aria-hidden="true"></span>
                    <input type="text" class="form-control" name="phone" placeholder="用户名">
                </div>

                <div class="form-group has-feedback">
                    <span class="mdi mdi-lock" aria-hidden="true"></span>
                    <input type="password" class="form-control" name="password" placeholder="密码">
                </div>

                <div class="form-group has-feedback row">
                    <div class="col-6">
                        <span class="mdi mdi-check-all form-control-feedback" aria-hidden="true"></span>
                        <input type="text" name="code" class="form-control" placeholder="验证码">
                    </div>
                    <div class="col-6 text-right">
                        <a href="#" class="btn btn-primary" onclick="send_sms()">发送验证码</a>
                    </div>
                </div>


                <div class="form-group">
                    <button class="btn btn-block btn-primary" type="submit">立即注册</button>
                </div>
            </form>
        </div>
        <div class="login-right p-5 d-none d-sm-block">
            <p class="mb-3"><h2>登录</h2></p>
            <p class="text-white">教师职称评定系统</p>
        </div>
    </div>
</div>
<script type="text/javascript" src="/static/js/jquery.min.js"></script>
<script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/static/js/bootstrap-notify.min.js"></script>
<script type="text/javascript" src="/static/js/msg.js"></script>
<script type="text/javascript">
    function send_sms(){
        let phone=$("input[name='phone']").val();
        if(phone==""){
            msgShow.error("手机号不能为空");
        }
    }
</script>
</body>
</html>